<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
    <div class="panel-body">
    <div class="col-sm-12">
        <div class="row ">
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="info.sale_name" placeholder="销售品名称"> 
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="info.nickname" placeholder="用户昵称"> 
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="info.mobile" placeholder="手机号"> 
            </div>
            <div class="col-sm-2">
                <select class="form-control" ng-model="info.state">
                    <option value=''>--全部--</option>
                    <option value='0'>进行中</option>
                    <option value='1'>已成功</option>
                    <option value='2'>已作废</option>
                    <option value='3'>下单中</option>
                    <option value='9'>异常订单</option>
                </select>
            </div>
            
            <div class="col-sm-2 col-sm-offset-2">
                <button class="btn btn-block btn-info" ng-click="getlist(search)">搜索</button> 
            </div>
    
        </div>
    
    </div>
    </div>
    </div>
    <!-- searchArea -->
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                <tr>
                    <th class="col-md-1 text-center">昵称</th>
                    <th class="col-md-1 text-center">头像</th>
                    <th class="col-md-1 text-center">手机号</th>
                    <th class="col-md-1 text-center" style="width:18%">销售品名称</th>
                    <th class="col-md-2 text-center" style="width:10%">订单编号</th>
                    <th class="col-md-2 text-center" style="width:10%">发起时间</th>
                    <th class="col-md-2 text-center" style="width:10%">结束时间</th>
                    <th class="col-md-1 text-center" style="width:6%">状态</th>
                    <th class="col-md-2 text-center" style="width:10%">失败原因</th>
                    <th class="col-md-1 text-center">操作</th>                       
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.nickname}}</td>
                    <td class="text-center">
                        <img ng-src="{{obj.headimg}}" class="img-responsive" style="border-radius:100px;">
                    </td>  
                    <td class="text-center">{{obj.mobile}}</td>
                    <td class="text-center" style="width:18%">{{obj.sale_name}}</td>
                    <td class="text-center" style="width:10%">{{obj.order_code}}</td>
                    <td class="text-center" style="width:10%">{{obj.create_time}}</td>
                    <td class="text-center" style="width:6%">{{obj.end_time}}</td>
                    <td class="text-center" style="width:10%">
                      <p ng-if="obj.state == '0'">进行中</p>
                      <p ng-if="obj.state == '1'">已成功</p>
                      <p ng-if="obj.state == '2'">已作废</p>
                      <p ng-if="obj.state == '3'">下单中</p>
                      <p ng-if="obj.state == '9'">异常订单</p>
                    </td>
                    <td class="text-center" style="width:12%">{{obj.msg}}</td>    
                    <td class="text-center">
                        <a ng-click="seebargaininfo(obj.active_id)" class="btn btn-info btn-xs">砍价明细</a>
                        <a ng-click="againbBuy(obj.active_id)" ng-if="obj.state == '9'" class="btn btn-primary btn-xs" style="margin-top: 2px">重新下单</a>
                    </td>                       
                </tr>
                </tbody>
             </table>
            <div class="text-right">
                 <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                    first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                    class="m-t-none m-b">
                </pagination>
            </div>
        </div>  
    </div>
    </div>
    